/*
 * Created by JFormDesigner on Sat Dec 19 15:08:13 CST 2020
 */

package cn.fourhundredandeighteen.view.AdminView;
import cn.fourhundredandeighteen.view.AdminView.AdminInfo.AdminInfo;
import cn.fourhundredandeighteen.view.AdminView.AllcourseFind.allCoursefind;
import cn.fourhundredandeighteen.view.AdminView.RewardView.rewardView;
import cn.fourhundredandeighteen.view.AdminView.studentInfo.StudentInfo;
import cn.fourhundredandeighteen.view.AdminView.teacherInfo.TeacherInfo;
import cn.fourhundredandeighteen.view.Component.*;

import java.util.ArrayList;

public class AdminView {
    private  ArrayList<LabelButton> labelButtonList = new ArrayList<LabelButton>();

    public AdminView(String title) {

        labelButtonList.add(new LabelButton("个人信息", AdminInfo.class));
        labelButtonList.add(new LabelButton("所有课程", allCoursefind.class));
        labelButtonList.add(new LabelButton("获奖管理", rewardView.class));
        labelButtonList.add(new LabelButton("学生信息管理", StudentInfo.class));
        labelButtonList.add(new LabelButton("教师信息管理", TeacherInfo.class));
        labelButtonList.add(new LabelButton("系统设置", Setting.class));

        Container container = Container.getInstance(labelButtonList);
        container.setTitle(title);
    }

}
